package com.wenkang.stu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wenkang.stu.pojo.SysUserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author WenKangCao
 * @since 2021-03-20
 */
public interface UserRoleMapper extends BaseMapper<SysUserRole> {

    void insert(@Param("userId") Integer userId, @Param("roleIds") List<Integer> roleIds);
}
